{% extends "layout.html" %}

{% block subtitle %}Print Jobs{% endblock %}

{% block head %}
    {{ super() }}
    <link href="/css/jobs.css" rel="stylesheet" type="text/css" /> 

{% endblock %}

{% block content %}
<ul id="subnav">
    <li ><a href="/myprinters">My Printers</a></li>
    <li ><a href="/settings">Settings</a></li>
    <li class="active"><a href="/jobs">Pending Jobs</a></li>
</ul>

<div id="subcontent">
	<ul id="jobs">
		{% for j in jobs %}
  		<li> 
    		<em> {{ j.title or "" }} </em>
    		<span>
       			<a href="/eprint/data?{{j.fileLink}}">file</a>
       			<samp>|</samp>
       			<a href="/eprint/data?{{j.ticketLink}}">ticket</a>
    		</span>
  		</li>
  		{% endfor %}
	</ul>
</div>

{% endblock %}
